/*
 * @Description: {{ByRuin}}
 * @Version: 2.0
 * @Author: Ruin 🍭
 * @Date: 2021-12-20 11:27:15
 * @LastEditors: 刘引
 * @LastEditTime: 2021-12-20 11:27:26
 */
import { createStore } from "vuex";

export default createStore({
  state: {
    test: 1,
  },
  getters: {
    getTest(state) {
      return state.test;
    },
  },
  mutations: {
    addTest(state) {
      ++state.test;
    },
  },
  actions: {},
  modules: {},
});
